package org.cttic.visualization.visualization.controller;

import org.cttic.visualization.visualization.z_service.OnlineCQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author shkstart
 * @create 2020-05-13 9:36
 * 2.4.1各省在线车辆总车辆数统计
 */
@RestController
@RequestMapping(value = "/OnlineC")
@CrossOrigin
public class OnlineCQueryController {
    @Autowired
    private OnlineCQuery onlineCQuery;
    @RequestMapping(value = "/OnlineCQuery")
    public String OnlineCQueryInformation(@RequestBody String inputData){
        return onlineCQuery.onlineCQuery(inputData);
    }

}
